
package com.quktzhuanka.app.config;

import com.quktzhuanka.app.CaiNiaoApplication;
import com.quktzhuanka.app.common.SPUtils;

/**
 * 常量:接口地址与第三方申请的key
 */
public class Constants {
    // 内容 
    // 初始 mm_21742772_104250451_20294800352
    // 修改 mm_408070187_1209200491_109942200027
    // 淘宝渠道方面
//    public static final String qd_app_key = "30502931";   //  淘宝客App key
//    public static final String qd_app_secret = "3daee5fc11c57a2d6b2b30c07b18ff1c";  //  淘宝客App secret
//    public static final String qd_app_code = "P24FHH";     //  渠道邀请码
//    public static final String ADZONE_ID = "110656600289";  // 广告位id

    public static final String qd_app_key = "28263280";   //  淘宝客App key
    public static final String qd_app_secret = "77cc95554baf550ce5d596a4df923cde";  //  淘宝客App secret
    public static final String qd_app_code = "G4D985";     //  渠道邀请码
    public static final String ADZONE_ID = "109942200027";  // 广告位id

    public static final String TOKEN = "token";// 登录信息
    public static final String UID = "uid";// 登录信息
    public static final String GROUP_ID = "group_id";// 登录信息
    public static final String ACCOUT = "accout";// 登录信息
    public static final String PASSWORD = "password";// 登录信息

    public static final String APP_ID = "wxd930ea5d5a258f4f";
    // 初始 V00003467Y96921036
    public static final String KEY = "V00003467Y96921036";  //  维易淘宝客key

    // 拼多多
    public static String client_id="3d252430c05e40849b6954e378e068ae";
    public static String client_secret="6b978cc35247ee818827a00e33525b448bc0a118";

    // 京东
    public static String jdappKey = "cacccbe9ae47126a45e816e106f4c3d3";
    public static String jdclient_secret = "e58726d4fa0540e3bce77d67673c6a86";

    // 好京客
    public static String jd_hjk_appikey = "2fbc8f8af3972eb1";


    // 广告接入商调用比例  穿山甲
    public static String LOOK_VIDEO_BL = "20";

    // 穿山甲
    public static String CSJ_APPID = "5095710";
    public static String CSJ_KP_ID = "887360826";    // 开屏广告
    public static String vertical_rit = "945373071"; // 全屏广告

    // 优量汇
    public static String YLH_APPID = "1101152570";
    public static final String YLH_ADV = "4080298282218338"; //图文+视频 大规格



    public static final String SHENG_INFO = "shengInfo";
    public static final String SHI_INFO = "shiInfo";
    public static final String SHI_ID_INFO = "shiIdInfo";
    public static final String QU_INFO = "quInfo";
    public static final String QU_ID_INFO = "quIdInfo";
    public static final String TO_FINISH_SHENG_SHI = "toFinishShengShi";

    //微信的appid与秘钥
    public static final String WX_APP_ID = "wxfa8e741ee49ec96c";
    public static final String WX_APP_SECRET = "3d72792fdf2198bec12ed658f4d5d0cc";
    //历史记录
    public static final String HISTORICAL_RECORDS = "HISTORICAL_RECORDS";    //程序IP
    public static final String APP_IP = "http://zk.gllle.com";
    public static String SHARE_URL = "http://zk.gllle.com";
    public static String SHARE_URL_REGISTER = "http://zk.gllle.com";
    public static String VSUP_URL = SPUtils.getStringData(CaiNiaoApplication.getAppContext(), "v_s", "").equals("") ? "http://apis.vephp.com" : SPUtils.getStringData(CaiNiaoApplication.getAppContext(), "v_s", "");
    public static String V_URL = SPUtils.getStringData(CaiNiaoApplication.getAppContext(), "v_c", "").equals("") ? "http://api.vephp.com" : SPUtils.getStringData(CaiNiaoApplication.getAppContext(), "v_c", "");

    //测试服务器地址
    //  public static final String APP_IP="http://8.dmooo.com";

    /**
     * 代表支付成功的返回值
     */
    public static final String VALUE_ALIPAY_SUCCESS = "9000";

    //获取顶级淘宝商品分类列表  分类
    public static final String HOME_TAOBAOCAT_GETTOPCATLIST_URL = APP_IP + "/app.php?c=TaobaoCat&a=getTopCatList";
    //获取子级淘宝商品分类列表
    public static final String HOME_TAOBAOCAT_GETSUBLISTBYPARENT_URL = APP_IP + "/app.php?c=TaobaoCat&a=getSubListByParent";
    //获取淘宝客商品列表
    public static final String HOME_TBK_GETTBKLIST_URL = APP_IP + "/app.php?c=Tbk&a=getTbkList";
    //获取淘宝客商品列表新版
    public static final String HOME_TBK_GETTBKLIST_NEW_URL = APP_IP + "/app.php?c=Tbk&a=getTbkList_new";
    //获取推荐淘宝客商品列表
    public static final String HOME_TBK_GETTOPLIST_URL = APP_IP + "/app.php?c=Tbk&a=getTopList";
    //获取淘宝客商品详情
    public static final String HOME_TBK_GETGOODSMSG_URL = APP_IP + "/app.php?c=Tbk&a=getGoodsMsg";
    //获取生成淘口令数据
    public static final String CREATE_TP_WD = APP_IP + "/app.php?c=Tbk&a=createTpwd";
    public static String GET_HAODAN_PHB = APP_IP + "/app.php?c=Haodanku&a=getSalesList";

    //根据商品链接/淘口令查询淘宝商品信息
    public static final String HOME_TBK_SEARCHTKL_URL = APP_IP + "/app.php?c=Tbk&a=searchTkl";
    public static final String SEARCHTKL = APP_IP + "/app.php?c=Tbk&a=searchTkl";

    //注册
    public static final String REGISTER = APP_IP + "/app.php?c=UserAccount&a=register";
    //注册-验证码
    public static final String SEND_USER_REGISTER = APP_IP + "/app.php?c=Sms&a=sendUserRegister";
    //登录
    public static final String LOGIN = APP_IP + "/app.php?c=UserAccount&a=login";
    //发送用户找回密码验证码
    public static final String SEND_USER_FINDPWD = APP_IP + "/app.php?c=Sms&a=sendUserFindpwd";
    // 使用手机找回密码
    public static final String FINDPWD_BY_PHONE = APP_IP + "/app.php?c=UserAccount&a=findPwdByPhone";
    //退出登录
    public static final String LOGIN_OUT = APP_IP + "/app.php?c=User&a=loginout";
    //修改密码
    public static final String CHANGE_PWD = APP_IP + "/app.php?c=User&a=changePwd";
    //绑定第三方
    public static final String BIND_THIRD = APP_IP + "/app.php?c=UserAccount&a=loginOauth";
    //消息中心列表
    public static final String MESSAGE_ARTICLE_GETARTICLELIST_URL = APP_IP + "/app.php?c=Article&a=getArticleList";
    //文章内容
    public static final String MESSAGE_ARTICLE_GETARTICLEMSG_URL = APP_IP + "/app.php?c=Article&a=getArticleMsg";

    //获取用户收藏商品列表
    public static final String MESSAGE_GOODSCOLLECT_GETCOLLECTLIST_URL = APP_IP + "/app.php?c=TbGoodsCollect&a=getCollectList";

    //用户是否收藏商品
    public static final String MESSAGE_GOODSCOLLECT_IS_COLLECT_URL = APP_IP + "/app.php?c=TbGoodsCollect&a=is_collect";
    public static final String GET_NINEBY_NEW_HD = Constants.APP_IP + "/app.php?c=Haodanku&a=getGoodsList";   // 为你推荐   天猫、今日推荐、9.9包邮、聚划算、淘抢购、、、超级券、视频商城
    public static final String GET_NINEBY_NEW_HD_CJQ = Constants.APP_IP + "/app.php?c=Haodanku&a=getItemList";
    //收藏商品
    public static final String MESSAGE_GOODSCOLLECT_COLLECT_URL = APP_IP + "/app.php?c=TbGoodsCollect&a=collect";
    public static final String HOME_TBK_GETTBKLIST_NEW_URL_HD = APP_IP + "/app.php?c=Haodanku&a=supersearch";
    //取消收藏
    public static final String MESSAGE_GOODSCOLLECT_CANCELCOLLECT_URL = APP_IP + "/app.php?c=TbGoodsCollect&a=cancelCollect";
    //0元购
    public static final String GETFREEGOODS = APP_IP + "/app.php?c=Tbk&a=getFreeGoodsList";
    //检查版本信息
    public static final String MESSAGE_ARTICLE_VERSION_URL = APP_IP + "/app.php?c=Article&a=version";
    //申请淘宝订单奖
    public static final String ORDER_APPLY = APP_IP + "/app.php?c=TaobaoOrder&a=apply";
    //获取淘宝订单列表
    public static final String GET_ORDER_LIST = APP_IP + "/app.php?c=TaobaoOrder&a=getOrderList";
    //获取淘宝订单列表（新）
    public static final String GET_ORDER_LIST_NEW = APP_IP + "/app.php?c=TaobaoOrder&a=getOrderList_new";
    //获取用户信息
    public static final String GET_USER_MSG = APP_IP + "/app.php?c=User&a=getUserMsg";
    //编辑用户头像
    public static final String EDIT_USER_AVATAR = APP_IP + "/app.php?c=User&a=editUserAvatar";
    //编辑用户头像 完善资料
    public static final String EDIT_USER_MSG = APP_IP + "/app.php?c=User&a=editUserMsg";
    //获取用户余额变动记录R
    public static final String GET_BALANCE_RECORD = APP_IP + "/app.php?c=UserBalanceRecord&a=getBalanceRecord";
    //用户申请提现
    public static final String DRAW = APP_IP + "/app.php?c=UserDrawApply&a=draw";
    //获取热门搜索
    public static final String GET_HOT_SEARCH = APP_IP + "/app.php?c=Tbk&a=getHotSearch";
    //获取淘宝客商品列表（新）
    public static final String GET_TBKLIST_NEW = APP_IP + "/app.php?c=Tbk&a=getTbkList_new";
    public static final String SLEF_MALL_GOODS = APP_IP + "/app.php?c=Goods&a=getGoodsList";
    //判断是否绑定了淘宝账号
    public static final String WHETHER_BINDING_TAOBAO = APP_IP + "/app.php?c=User&a=whetherBindingTaobao";
    public static final String BINDING_TAOBAO = APP_IP + "/app.php?c=User&a=bindingTaobao";
    //获取费用配置
    public static final String GET_FEE = APP_IP + "/app.php?c=UserGroup&a=getFee";
    //会员升级
    public static final String UPGRADE = APP_IP + "/app.php?c=UserGroup&a=upgrade";

    //获取淘宝客商品列表（新）
    public static final String GET_GETTEAMLIST_NEW = APP_IP + "/app.php?c=User&a=getTeamList";
    //获取banner
    public static final String GET_BANNER = APP_IP + "/app.php?c=Banner&a=getBannerList";
    //获取banner信息
    public static final String GET_BANNER_DETAIL = APP_IP + "/app.php?c=Banner&a=getBannerMsg";
    //获取9.9包邮
    public static final String GET_NINEBY = APP_IP + "/app.php?c=Tbk&a=get99List";
    //获取9.9包邮官方接口
    public static final String GET_NINEBY_NEW = Constants.VSUP_URL + "/super?vekey=V00003467Y96921036&start_price=1&end_price=10&sort=total_sales_des&pagesize=6&coupon=1&freeship=1";
    //获取奖比例
    public static final String GET_RATE = APP_IP + "/app.php?c=User&a=getCommissionRate";
    //获取24小时排行榜
    public static final String GET_TOPGOODS = Constants.V_URL + "/products?vekey=V00003467Y96921036&sort=total_sales_des&pagesize=6";
    //获取24小时排行榜
    public static final String GET_TUIJIAN = Constants.V_URL + "/products?vekey=V00003467Y96921036&sort=tk_rate_des&pagesize=6";
    public static final String ABOUT_GOODS = Constants.VSUP_URL + "/super?vekey=V00003467Y96921036&para=";
    //获取超级券
    public static final String GET_TOPGOODS_CJ = Constants.V_URL + "/products?vekey=V00003467Y96921036&sort=coupon_des&pagesize=6";
    //获取淘抢购
    public static final String GET_TQG = APP_IP + "/app.php?c=Tbk&a=getTqgJu";
    //获取每日爆款
    public static final String GET_DAYBK = APP_IP + "/app.php?c=BbsArticle&a=getGoodsList";
    //获取汇客学堂
    public static final String GET_XUETANG = APP_IP + "/app.php?c=BbsArticle&a=getGoodsList";
    //获取每日素材
    public static final String GET_DAYSC = APP_IP + "/app.php?c=BbsArticle&a=getArticleList";
    //更新分享
    public static final String UPDATE_SHARE_NUM = APP_IP + "/app.phpp?c=BbsArticle&a=updateShareNum";
    //获取京东商品分类
    public static final String GET_JD_KIND = APP_IP + "/app.php?c=JingdongCat&a=getTopCatList";
    //检查第三方是否绑定
    public static final String IS_BIND = APP_IP + "/app.php?c=UserAccount&a=checkRegisterOauth";
    //获取原手机验证码
    public static final String GET_PHONE_CODE = APP_IP + "/app.php?c=User&a=sendChangeBandCode";
    //更换手机号发送验证码
    public static final String CHANGE_PHONE_SENDSMS = APP_IP + "/app.php?c=Sms&a=sendChangeBanding";
    public static final String GET_YZM_BIND = APP_IP + "/app.php?c=Sms&a=send";
    //更换手机号
    public static final String CHNAGE_PHONE = APP_IP + "/app.php?c=User&a=changeBandingPhone";
    //验证手机号验证码
    public static final String CHECK_CODE = APP_IP + "/app.php?c=Sms&a=checkCode";
    //获取拼多多分类
    public static final String GET_PDD_KIND = APP_IP + "/app.php?c=Pdd&a=getTopCatList";
    //拼多多商品详情
    public static final String GET_PDD_DETAIL = APP_IP + "/app.php?c=Pdd&a=getGoodsDetail";
    //获取会员中心数据
    public static final String GET_VIP_DATA = APP_IP + "/app.php?c=UserBalanceRecord&a=statistics2";
    //留言
    public static final String FEEDBACK = APP_IP + "/app.php?c=Message&a=online";
    //拼多多订单列表
    public static final String GET_PDD_ORDER = APP_IP + "/app.php?c=PddOrder&a=getOrderList";
    //奖提现明细记录
    public static final String COMMISSION_PUT_DETAIL = APP_IP + "/app.php?c=UserBalanceRecord&a=getBalanceRecord2";
    //收益统计
    public static final String INCOME_STATICS = APP_IP + "/app.php?c=UserBalanceRecord&a=statistics";
    //我的页面收益统计
    public static final String INCOME_USER_TATICS = APP_IP + "/app.php?c=UserBalanceRecord&a=getUserStatistics";
    //团队收益统计
    public static final String TEAM_INCOME = APP_IP + "/app.php?c=User&a=getTeamStatistics";
    //聚划算
    public static final String GET_GOODS_JHS = Constants.V_URL + "/pintuan?vekey=V00003467Y96921036&pid=mm_408070187_1209200491_109942200027&page_size=10";
    //发送支付宝绑定发送验证码
    public static final String SEND_ALICOUNT_YAM = APP_IP + "/app.php?c=UserDrawApply&a=sendAlipayCode";
    //变更支付宝
    public static final String CHANGEZFB = APP_IP + "/app.php?c=UserDrawApply&a=changeAlipay";
    //获取京东订单接口
    public static final String GETJD_ORDERLIST = APP_IP + "/app.php?c=JingdongOrder&a=getOrderList";
    //京东收藏接口
    public static final String COLLECT_JD_GOOD = APP_IP + "/app.php?c=JingdongCollect&a=collect";
    //京东取消收藏
    public static final String DE_COLLECT_JD_GOOD = APP_IP + "/app.php?c=JingdongCollect&a=cancelCollect";
    //获取京东收藏列表
    public static final String GETJD_COLLECT_LIST = APP_IP + "/app.php?c=JingdongCollect&a=getCollectList";
    //判断用户jd是否收藏
    public static final String IS_JD_GOOD_COLLECT = APP_IP + "/app.php?c=JingdongCollect&a=is_collect";
    //pdd收藏接口
    public static final String COLLECT_PDD_GOOD = APP_IP + "/app.php?c=PddCollect&a=collect";
    //pdd取消收藏
    public static final String DE_COLLECT_PDD_GOOD = APP_IP + "/app.php?c=PddCollect&a=cancelCollect";
    //获取pdd收藏列表
    public static final String GETPDD_COLLECT_LIST = APP_IP + "/app.php?c=PddCollect&a=getCollectList";
    //判断pdd用户是否收藏
    public static final String IS_PDD_GOOD_COLLECT = APP_IP + "/app.php?c=PddCollect&a=is_collect";
    //获取可提现金额
    public static final String GET_KETIXIAN = APP_IP + "/app.php?c=UserBalanceRecord&a=drawStatistics";
    //获取专属客服
    public static final String GET_KEFU = APP_IP + "/app.php?c=User&a=getService";
    //解除绑定淘宝
    public static final String UNBING_TAOBAO = APP_IP + "/app.php?c=User&a=unbindTaobao";
    //获取我的页面团队收益
    public static final String GET_MINEPAGE_TEAM = APP_IP + "/app.php?c=UserBalanceRecord&a=teamStatistics";
    //获取淘宝年货节
    public static final String NIANHUOJIE = APP_IP + "/app.php?c=TbActivity&a=getNewYearShoppingFestivalMsg";
    //春节红包
    public static final String HONGBAO = APP_IP + "/app.php?c=UserBalanceRecord&a=receiveBonus";
    //签到天数
    public static final String ATTEND_NUMS = APP_IP + "/app.php?c=UserSign&a=getContinuousDay";
    public static final String ATTEND_RECORD = APP_IP + "/app.php?c=UserSign&a=getSignRecord";
    public static final String ATTEND = APP_IP + "/app.php?c=UserSign&a=singin";
    public static final String HOME_RECOMMEND_GOODS = APP_IP + "/app.php?c=Tbk&a=getHotGoodsList";
    public static final String ISRECEIVER_BONUS = APP_IP + "/app.php?c=UserBalanceRecord&a=isReceiveBonus";
    public static final String GETBK_NEW = APP_IP + "/app.php?c=Tbk&a=getHotGoodsList";
    public static final String BIND_RELATION_ID = APP_IP + "/app.php?c=User&a=bindingTbRid";
    public static final String UNBIND_RELATION_ID = APP_IP + "/app.php?c=User&a=unbindTbRid";
    public static final String ISBIND_RELATION_ID = APP_IP + "/app.php?c=User&a=whetherBindingTbRid";   // 商品详情页分享按钮
    public static final String GOODS_VEDIO = "http://apipro.vephp.com/itemdetail?vekey=V00003467Y96921036&onlydetail=1";
    public static final String SHOP_DETAIL = "http://apipro.vephp.com/itemdetail?vekey=V00003467Y96921036&moreinfo=1&onlyglobalinfo=1";
    public static final String SET = APP_IP + "/app.php?c=Diy&a=set";
    public static final String GOODS_SMOKE = APP_IP + "/app.php?c=Tbk&a=getGoodsSmoke";
    public static final String GETPPLIST = APP_IP + "/app.php?c=Haodanku&a=getBrandList";
    public static final String getBrandMsg = APP_IP + "/app.php?c=Haodanku&a=getBrandMsg";
    public static final String isSignToday = APP_IP + "/app.php?c=UserSign&a=isSignToday";
    public static final String ranking = APP_IP + "/app.php?c=UserBalanceRecord&a=ranking";
    public static final String GROUP_LIST = APP_IP + "/app.php?c=UserGroup&a=getGroupList";
    public static final String GET_DOU_KIND = APP_IP + "/app.php?c=Haodanku&a=getDouHuoCat";
    public static final String SHOPCAR_ORDER_BUY = APP_IP + "/app.php?c=Order&a=orderByShopcart";
    //获取地址列表
    public static final String ADDRESSLIST = APP_IP + "/app.php?c=ConsigneeAddress&a=getAddressList";
    //添加地址
    public static final String ADD_ADDRESS = APP_IP + "/app.php?c=ConsigneeAddress&a=addAddress";
    //删除地址
    public static final String DELETE_ADDRESS = APP_IP + "/app.php?c=ConsigneeAddress&a=delAddress";
    //编辑收货地址
    public static final String EDIT_ADDRESS = APP_IP + "/app.php?c=ConsigneeAddress&a=editAddress";
    public static final String GET_DOU_LIST = APP_IP + "/app.php?c=Haodanku&a=getDouHuoItemList";
    //获取商品详情
    public static final String SELF_GOODS_DETAIL = APP_IP + "/app.php?c=Goods&a=getGoodsMsg";
    //商城商品购买下单
    public static final String MALL_BUY_GOODS = APP_IP + "/app.php?c=Order&a=order";
    //获取支付表单
    public static final String GET_ORDER_FORM = APP_IP + "/app.php?c=Order&a=getPayForm";

    //获取自营商城顶级分类列表
    public static final String SLEF_MALL_CAT=APP_IP+"/app.php?c=GoodsCat&a=getParentCatList";
    //获取自营商城子分类列表
    public static final String SLEF_MALL_CAT_SUB=APP_IP+"/app.php?c=GoodsCat&a=getSubCatList";
    //获取用户订单列表
    public static final String GET_USER_ORDER_LIST=APP_IP+"/app.php?c=Order&a=getOrderList";
    //获取订单详情
    public static final String GET_ORDER_DETAIL=APP_IP+"/app.php?c=Order&a=getOrderMsg";
    //取消订单
    public static final String CANCLE_MALL_ORDER=APP_IP+"/app.php?c=Order&a=cancel";
    //申请退款
    public static final String APPLY_TUIKUAN=APP_IP+"/app.php?c=Order&a=applyDrawback";
    //确认收货
    public static final String CONFIRM_ORDER=APP_IP+"/app.php?c=Order&a=confirmOrder";
    //填写快递单号
    public static final String EXPRESS_DANHAO=APP_IP+"/app.php?c=Order&a=fillInRefundExpressNum";
    //查看物流
    public static final String EXPRESS_DETAIL=APP_IP+"/app.php?c=Order&a=getLogisticsMsg";
    public static final String ADD_TO_SHOP_CAR=APP_IP+"/app.php?c=Shopcart&a=add";

    // 全球特权卡  2020年5月12日15:01:11
    public static final String GET_HEIKA_LIST=APP_IP+"/app.php?c=Heika&a=getHeikaList";

    public static final String GET_HEIKA=APP_IP+"/wap.php/Index/heika";
    public static final String GET_MARKETING=APP_IP+"/wap.php/Index/marketing";
    public static final String GET_JIFEN=APP_IP+"/wap.php/jifen/index";

    // 获取完善信息奖励   2020年6月19日20:23:44
    public static final String GET_USER_POINT = APP_IP + "/app.php?c=User&a=getPointMsg";


    // 分享  http://taobao.mjuapp.com

    // 积分系统
//    // 更新分享
//    public static final String UP_USER_SHARE = APP_IP + "/app.php?c=JifenConfig&a=updateShareNum";
//    // 更新查看推送次数
//    public static final String UP_USER_PUSH = APP_IP + "/app.php?c=JifenConfig&a=updatePushNum";
    // 记录次数
    public static final String RECORDNUM = APP_IP + "/app.php?c=JifenConfig&a=recordNum";
    // 顶部浮窗点击收益
    public static final String RECORDTOPNUM = APP_IP + "/app.php?c=JifenConfig&a=recordTopNum";
    // 积分提现信息
    public static final String GET_DRAW_CONFIG = APP_IP + "/app.php?c=JifenConfig&a=getDrawConfig";
    //用户申请积分提现
    public static final String DRAW_POINT = APP_IP + "/app.php?c=JifenConfig&a=draw";


    // 赚咖联盟  2020年7月28日19:30:03
    public static final String GET_ZHUANKA_URL=APP_IP+"/make.php?c=Index&a=index";

    // 赚咖联盟大厅  2020年7月28日19:30:03
    public static final String GET_ZHUANKA_HALL=APP_IP+"/make.php?c=Index&a=hall";

    // 赚咖联盟我的
    public static final String GET_ZHUANKA_USER=APP_IP+"/make.php?c=Index&a=user";

    //获取支付表单
    public static final String GET_VIP_FORM = APP_IP + "/app.php?c=GemOrder&a=getPayForm";

//    // 零钱提现信息
//  public static final String GET_LINGQIAN_DRAW_CONFIG = APP_IP + "/app.php?c=GemOrder&a=getDrawConfig";
    //用户申请零钱提现
    public static final String LINGQIAN_DRAW_POINT = APP_IP + "/app.php?c=GemOrder&a=lingqian_draw";
}